<script>
import KtTable from "/src/components/node-kantboot/components/KtTable/KtTable.vue";
import columns from "./config/columns.config.js"

export default {
  components: {KtTable},
  data() {
    return {
      columns
    }
  },
  mounted() {
    this.$refs.ktTable.isHasSelect=true;
  },
  methods: {
    ktEmit(json){
      this.$emit("ktEmit",json);
    },
    select(row) {
    }
  }
}
</script>

<template>
    <kt-table
        :columns="columns"
              requestUri="/system-admin/admin/admin"
              ref="ktTable"
              @select="select"
              @ktEmit="ktEmit"
    >
      <template #custom1="{row}">
        {{row.id}}{{row.name}}
      </template>
    </kt-table>
</template>

<style scoped>

</style>